%{
	#include <stdio.h>
	#include "pruebaYacc.yy.h"
	
%}

%%

[Cc][Ii][Rr][Cc][Ll][Ee]	return TOKCIRCLE;
[Bb][Oo][Xx]			return TOKBOX;
[-]?[0-9]*(["."])?[0-9]+		yylval.real=atof(yytext); return REAL;
[Mm][Oo][Vv][Ee]		return TOKMOVE;
[Rr][Oo][Tt][Aa][Tt][Ee]	return TOKROTATE;
[Ss][Cc][Aa][Ll][Ee]		return TOKSCALE;
[Rr][Ee][Pp][Ee][Aa][Tt]	return TOKREPEAT;
[Dd][Ee][Ff][Ii][Nn][Ee]	return TOKDEFINE;
[a-zA-Z][a-zA-Z0-9]*		yylval.name=yytext; return NAME;
\n                   		/* ignore end of line */;
[ \t]+             		/* ignore whitespace */;
\(				return TOKABRIRPARENTESIS;
\)				return TOKCERRARPARENTESIS;

%%







